home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / X11 / Fresco / build / Unix / config / cf / Win32.cf < prev    next >
Text File  |  1995-07-12  |  3KB  |  101 lines

  1. XCOMM platform:  $XConsortium: Win32.cf,v 1.38 94/04/01 19:58:56 kaleb Exp $
  2.  
  3. /*
  4.  * If you are using the sdk compiler... you need to define USE_SDK, otherwise
  5.  * it is expected that you are using Visual C++.  Visual C++ V2.0 is needed
  6.  * to build Fresco!  The proper settings are expected to exist in the 
  7.  * environment variables $Path, $Include, and $Lib.
  8.  */
  9. #ifndef USE_SDK
  10. #define USE_SDK   NO
  11. #endif
  12.  
  13. #define OSName            Microsoft Windows NT 3.1
  14. XCOMM operating system:  OSName
  15. #define OSMajorVersion        3
  16. #define OSMinorVersion        1
  17.  
  18. #define BootstrapCFlags        -DWIN32
  19. #ifdef _M_IX86
  20. #define CpuDefines -D_X86_
  21. #endif
  22. /* brain-damaged windows headers will not compile with -Za */
  23. #if USE_SDK
  24. #define StandardDefines -DWIN32 -D_DLL -D_MT -D__STDC__ CpuDefines
  25. #else
  26. #define StandardDefines -DWIN32 -D_MT -D__STDC__ CpuDefines
  27. #endif
  28. #define DefaultCCOptions -nologo -batch -G4 -W2
  29. #define DebuggableCDebugFlags -Zi -Od
  30. #define ThreadedX        YES
  31. #define CpCmd copy
  32. #define LnCmd copy
  33. #define MvCmd ren
  34. #define RmCmd del
  35. /* if you do not have deltree, substitute rd /s and suffer the prompts */
  36. #define RmTreeCmd deltree /y
  37. #define CcCmd cl
  38. #define HasCplusplus        YES
  39. #define CplusplusCmd cl 
  40. #define PreProcessCmd CcCmd -nologo -batch -EP
  41. #define CppCmd  CcCmd -nologo -batch -E
  42. #define PatheticCpp        YES
  43. #if USE_SDK
  44. #define ArCmdBase lib32
  45. #else
  46. #define ArCmdBase lib
  47. #endif
  48. #define ArCmd ArCmdBase
  49. #define CplusplusCmd cl
  50. #define MkdirHierCmd mkdir
  51. #define InstallCmd copy
  52. #define InstPgmFlags /**/
  53. #define InstBinFlags /**/
  54. #define InstUidFlags /**/
  55. #define InstLibFlags /**/
  56. #define InstIncFlags /**/
  57. #define InstManFlags /**/
  58. #define InstDatFlags /**/
  59. #define InstallFlags /**/
  60. #if USE_SDK
  61. #define ExtraLibraries crtdll.lib kernel32.lib wsock32.lib
  62. #else
  63. #define ExtraLibraries libcmt.lib kernel32.lib wsock32.lib
  64. #endif
  65. #define MakeCmd nmake -nologo
  66. #if USE_SDK
  67. #define LdCmd link32
  68. #else
  69. #define LdCmd link
  70. #endif
  71. #define MathLibrary
  72. #define HasSymLinks        NO
  73. #define HasPutenv        YES
  74. #define Osuf obj
  75. #define BuildServer        NO
  76. #define ConnectionFlags        -DTCPCONN
  77. #if USE_SDK
  78. #define StdIncDir /mstools/h
  79. #else
  80. #define StdIncDir /msvc20/include
  81. #endif
  82. #define LdPreLib /**/
  83. #define LdPostLib /**/
  84. #ifndef UseInstalled
  85. #define ImakeCmd $(IMAKESRC:/=\)\imake
  86. #define DependCmd $(DEPENDSRC:/=\)\makedepend
  87. #endif
  88. #define FilesToClean *.bak *.obj *.lib make.log
  89. #define ShLibDir $(BINDIR)
  90.  
  91. #define XFileSearchPathBase Concat4($(LIBDIR)/;L/;T/;N;C,;S:$(LIBDIR)/;l/;T/;N;C,;S:$(LIBDIR)/;T/;N;C,;S:$(LIBDIR)/;L/;T/;N;S:$(LIBDIR)/;l/;T/;N;S:$(LIBDIR)/;T/;N;S)
  92.  
  93. #define BuildFonts        NO
  94. #define BuildFresco        YES
  95. #define SharedFrescoReqs $(XLIBONLY)
  96. #define IxCpp cl -EP -I$(INCROOT) 
  97.  
  98. #define XawI18nDefines        -DHAS_WCHAR_H
  99.  
  100. #include <Win32.rules>
  101.